package base_demo.demo2;

public class Myrun implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            //这里为了区别,获取到线程的名称
            System.out.println(Thread.currentThread().getName() + "@" + i);
        }
    }
}
